
// 自动生成模板IntegralRecords
package integral_record
import (
	"time"
)

// integralRecords表 结构体  IntegralRecords
type IntegralRecords struct {
    Id  *int `json:"id" form:"id" gorm:"primarykey;column:id;comment:;size:20;"`  //id字段 
    CreatedAt  *time.Time `json:"createdAt" form:"createdAt" gorm:"column:created_at;comment:;"`  //createdAt字段 
    UpdatedAt  *time.Time `json:"updatedAt" form:"updatedAt" gorm:"column:updated_at;comment:;"`  //updatedAt字段 
    DeletedAt  *time.Time `json:"deletedAt" form:"deletedAt" gorm:"column:deleted_at;comment:;"`  //deletedAt字段 
    IntegralNumber  *int `json:"integralNumber" form:"integralNumber" gorm:"column:integral_number;comment:积分变动数量(获得用负数,使用用正数);size:10;"`  //积分变动数量(获得用负数,使用用正数) 
    Describe  *string `json:"describe" form:"describe" gorm:"column:describe;comment:积分变动描述;"`  //积分变动描述 
    UserId  *int `json:"userId" form:"userId" gorm:"column:user_id;comment:用户id;size:10;"`  //用户id 
}


// TableName integralRecords表 IntegralRecords自定义表名 integral_records
func (IntegralRecords) TableName() string {
    return "integral_records"
}





